package com.woniuxy.factory.service;

import com.woniuxy.factory.entity.Purchaseplan;
import com.woniuxy.factory.entity.ResponseResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface PurchaseplanService {
    ResponseResult<List<Purchaseplan>> getpurchaseplans(Purchaseplan purchaseplan, int page, int limit);

    ResponseResult<Map> getpurchaseplanById(String pupId);

    ResponseResult updatePurchaseplan(Purchaseplan purchaseplan,String empId);

    ResponseResult deletepurchaseplan(String pupId);

    ResponseResult addPurchasePlan(Purchaseplan purchaseplan, String empId, HttpServletRequest request);
}
